{foreach from=$newsarray item=news}
{assign var=id value=$news.news_id}
<div class="news"{if $news.news_system == 1} style="background: #555;"{/if}>
	<span class="n1"><img src="{$smarty.const.BASEDIR}img/{$news.news_img}" alt=""{if $news.news_system == 0} style="width: 65px; height: 65px;"{/if} /></span><span class="n2"><span>{$news.news_title} ({$news.news_time})</span></span><span class="n3">{$news.news_content}{if $news.news_system == 1}<span class="more"><a href="{$appCore->prepareUrl("index.php?pid=news/newsread/show/$id/")}">Dowiedz się więcej</a></span>{/if}</span>
</div>
{/foreach}